
part of 'sports_cubit.dart';


/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class SportsEvent extends Equatable {}

/// Event that is dispatched when the Profile widget is first created.
class SportsInitialEvent extends SportsEvent {
  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class GetSportsEvent extends SportsEvent {
  @override
  List<Object?> get props => [];
}

/// Event that is dispatched when the User Profile is Null.
class SelectModeEvent extends SportsEvent {
  final bool mode;
  final Sport? sport;
  SelectModeEvent({required this.mode,this.sport});
  @override
  List<Object?> get props => [mode];
}


/// Event that is dispatched when the User Profile is Null.
class SelectSportEvent extends SportsEvent {
  final Sport sport;
  final bool isSelected;
  SelectSportEvent({required this.sport,required this.isSelected});
  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class AddToGymEvent extends SportsEvent {
  final Sport sport;
  AddToGymEvent({required this.sport});
  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class UpdatePlayerStateEvent extends SportsEvent {
  final Sport? user;

  UpdatePlayerStateEvent({required this.user});
  @override
  List<Object?> get props => [];
}